package com.zzy.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cglib.core.Local;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_warehouse_area")
public class WarehouseArea {
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;
    private String name;//库区名字
    private Integer warehouseId;//所属仓库
    @TableField(exist = false)
    private String category;
    private String saasId;//SaaS标识
    private LocalDateTime createTime;//创建时间
    private String createBy;//创建人账号
    private LocalDateTime updateTime;
    private String updateBy;//修改人账号
    private Integer isDel;///是否删除 1未删除 2已删除
    @TableField(exist = false)
    private String warehousename;//仓库名称
}
